namespace Voodoo.Sauce.Internal.Analytics
{
	public class VoodooIAPAnalyticsInfo
	{
		internal double price;

		internal string currency;

		internal string productId;

		internal string productName;

		internal PurchaseProductType purchaseType;

		internal string purchaseTransactionId;

		internal bool? purchaseRestored;

		internal string failureReason;

		internal string failureDescription;

		internal string environment;

		internal string id;

		internal bool? isPurchaseValidated;

		public VoodooIAPAnalyticsInfo(string id, double price, string currency, string productID, string productName, PurchaseProductType purchaseType, string purchaseTransactionID, bool? purchaseRestored, string environment = "production")
		{
			this.id = id;
			this.price = price;
			this.currency = currency;
			productId = productID;
			this.productName = productName;
			this.purchaseType = purchaseType;
			purchaseTransactionId = purchaseTransactionID;
			this.purchaseRestored = purchaseRestored;
			this.environment = environment;
		}

		public VoodooIAPAnalyticsInfo(string id)
		{
			this.id = id;
		}
	}
}
